home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
batch
/
ronset21
/
poll.bat
< prev
next >
Wrap
DOS Batch File
|
1990-02-06
|
635b
|
21 lines
@Echo Off
Rem Poll a node
Rem Written by Ron Bemis for distribution with RONSET
Set X=
If Not "%2" == "" Goto GotName
If Not "%1" == "" Goto GotAddr
RonSet X=concat(hex(string(Net:,5)),hex(string(Node:,5)))
Goto Poll
:GotAddr
RonSet X=concat(hex(net(%1)),hex(node(%1)))
Goto Poll
:GotName
RonSet X=concat(hex(net(lookup(%1 %2))),hex(node(lookup(%1 %2))))
:Poll
If "%X%" == "" Goto Exit
REM ****************************************************************
REM * Change the next line as needed to match your outbound area *
REM ****************************************************************
Rem>>Q:\%X%.DLO
:Exit